@mixin styles() {
  header {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .cover {
    position: relative;
    margin-bottom: 18px;
    
    .avatar {
      position: absolute;
      right: -10px;
      bottom: -10px;
    }
  }

  .title {
    margin-bottom: 8px;
  }

  .author {
    font-weight: 700;
  }

  .info {
    margin-bottom: 12px;
    display: flex;
  }

  .dot {
    padding: 0 8px;
  }
}

@include styles;